import Colors from '@/common/color.js'
import SendRepairRouterConfig from '@/sendRepair/routerConfig.js'
export const State = {
	colors: {
		1: Colors.red,
		2: Colors.yellow,
		3: Colors.blue,
		4: Colors.red,
		5: Colors.red,
		6: Colors.blue,
		7: Colors.red,
	},
	buttonParams: {
		// 1待取走2配送中3科室自取5待审核
		1: {
			emitCode: 'toBeTaken',
			//详情页
			navDetailPath: SendRepairRouterConfig.Department.StayTakeAwayDetail,
			//操作页
			navHandlePath: SendRepairRouterConfig.Department.PickUpConfirm,
			text: "取走"
		},
		2: {
			emitCode: 'service',

			//详情页
			navDetailPath: SendRepairRouterConfig.Department.DeliveryDetail,
			//操作页
			navHandlePath: SendRepairRouterConfig.Department.ConfirmService,
			text: "送达"
		},
		3: {
			emitCode: '',

			//详情页
			navDetailPath: SendRepairRouterConfig.Department.OneSelfDetail,
			//操作页
			navHandlePath: SendRepairRouterConfig.Department.ConfirmPickUp,
			text: "科室取走"
		},
		4: {
			emitCode: 'review',

			//详情页
			navDetailPath: SendRepairRouterConfig.Department.OfferReviewDetail,
			//操作页
			navHandlePath: SendRepairRouterConfig.Department.ConfirmReview,
			text: "审核"
		},
		// 5: {
		// 	emitCode: 'devicePickUp',

		// 	//详情页
		// 	navDetailPath: '',
		// 	//操作页
		// 	navHandlePath: '',
		// 	text: "取走"
		// },


	},

}
